<!--
 * @Author: Allen
 * @Date: 2021-02-05 16:31:04
 * @Description: 抱怨身处黑暗，不如提灯前行。愿你在自己存在的地方，成为一束光，照亮世界的一角
 * @LastEditTime: 2021-02-05 16:40:49
 * @LastEditors: Allen
 * @FilePath: \WMS\src\components\wms\checkBox\index.vue
 * @Additional: 附加类容
-->

<template>
  <el-col :span="span" v-show="curIsShow" :key="fullComponentKey">
    <lableName
      :validrule="validrule"
      :curLabelName="curLabelName"
      :isShowLabel="isShowLabel"
      :isRequire="isRequire"
      :curisFunc="curisFunc"
    ></lableName>
    <el-col :span="15" style="text-align:left; margin-bottom:0px;">
      <el-checkbox-group @change="sendCode" v-model="modelCode">
        <el-checkbox
          v-for="item in monthArrs"
          :label="item.value"
          :key="item.value"
          style="width:16%;text-align:left"
        >{{ item.name }}</el-checkbox>
      </el-checkbox-group>
    </el-col>
    <validateFormate :curLabelName="curLabelName" :validrule="validrule"></validateFormate>
  </el-col>
</template>
<script>
import { checkboxMixins } from "@/components/mixins/checkboxMixins";
const monthArr = [
  {
    name: "",
    value: "true"
  }
];
export default {
  mixins: [checkboxMixins],
  components: {
    lableName: () => import("@/components/lableName"), //标题溢出样式组件
    validateFormate: () => import("@/components/validateFormate") //校验提示样式组件
  },
  data() {
    return {
      monthArrs: monthArr
    };
  }
};
</script>
<style lang="scss" scoped>
#searchFormGroup .el-row .el-col .el-col label {
  margin: 0 !important;
}

/deep/.el-checkbox-group > .el-checkbox > .el-checkbox__label {
  padding-left: 5px !important;
}
</style>
